﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckUser.aspx.cs" Inherits="Admin_CheckUser" Theme="PX" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>无标题页</title>
</head>
<body>
	<form id="form1" runat="server">
	`
		<asp:Panel runat="server" CssClass="Shade" ID="PShade" Visible="false"></asp:Panel>
		<asp:Panel runat="server" CssClass="Float CheckUser_Float" ID="PFloat" Visible="false">
			<asp:Panel runat="server" CssClass="FloatTitle">
				<asp:Label runat="server" Text="详细信息"></asp:Label>
				<asp:LinkButton runat="server" Text="关闭" CssClass="FloatClose" ID="LBtnClose"></asp:LinkButton>
			</asp:Panel>
			<asp:Panel runat="server">
				<asp:MultiView runat="server" ID="MViewDetail">
					<asp:View runat="server" ID="ViewUser">
						<table class="floatTable">
							<tbody>
								<tr>
									<td class="firstColumn">帐号</td>
									<td class="secondColumn"><asp:Label ID="UserUsername" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">用户组</td>
									<td class="secondColumn"><asp:Label ID="UserUserGroup" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">姓名</td>
									<td class="secondColumn"><asp:Label ID="UserName" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">单位</td>
									<td class="secondColumn"><asp:Label ID="UserDepartment" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">电子邮箱</td>
									<td class="secondColumn"><asp:Label ID="UserEMail" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">联系电话</td>
									<td class="secondColumn"><asp:Label ID="UserPhone" runat="server"></asp:Label></td>
								</tr>
							</tbody>
						</table>
					</asp:View>
					<asp:View runat="server" ID="ViewExpert">
						<table class="floatTable">
							<tbody>
								<tr>
									<td class="firstColumn">帐号</td>
									<td class="secondColumn"><asp:Label ID="ExpertUsername" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">用户组</td>
									<td class="secondColumn"><asp:Label ID="ExpertUserGroup" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">姓名</td>
									<td class="secondColumn"><asp:Label ID="ExpertName" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">单位</td>
									<td class="secondColumn"><asp:Label ID="ExpertDepartment" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">工种</td>
									<td class="secondColumn"><asp:Label ID="LabJob" runat="server"></asp:Label></td>
								</tr>
								<tr>
									<td class="firstColumn">头像</td>
									<td class="secondColumn"><asp:Image runat="server" ID="ImgPic" Width="200" Height="150" /></td>
								</tr>
								<tr>
									<td class="firstColumn">简介</td>
									<td class="secondColumn" >
										<iframe runat="server" id="iFrameIntroduction" style="width: 100%;" frameBorder="0" scrolling="yes"></iframe>
									</td>
								</tr>
							</tbody>
						</table>
					</asp:View>
				</asp:MultiView>
			</asp:Panel>
			<div class="FloatButtom">
				<asp:LinkButton runat="server" Text="通过" ID="LBtnPass"></asp:LinkButton>
			</div>
		</asp:Panel>
		
	
		<div class="ResultTable">
			<asp:GridView runat="server" ID="GrvInCheckUser" SkinID="QueryResult">
				<Columns>
					<asp:TemplateField HeaderText="序号" HeaderStyle-Width="50">
						<ItemTemplate>
							<%# GrvInCheckUser.PageIndex*GrvInCheckUser.PageSize+GrvInCheckUser.Rows.Count+1 %>
						</ItemTemplate>
					</asp:TemplateField>
					<asp:BoundField DataField="Username" HeaderText="帐号" />
					<asp:BoundField DataField="Name" HeaderText="姓名" />
					<asp:BoundField DataField="UserGroup" HeaderText="用户组" />
					<asp:BoundField DataField="Department" HeaderText="单位" />
					<asp:TemplateField>
						<ItemTemplate>
							<asp:LinkButton runat="server" ID="LBtnPass" Text="通过" OnClientClick="javascript:return confirm('确定要通过吗？');" CommandName="Pass" CommandArgument='<%# Bind("ID") %>'></asp:LinkButton>
							<asp:LinkButton runat="server" ID="LBtnDetail" Text="详情" CommandName="Detail" CommandArgument='<%# Bind("ID") %>'></asp:LinkButton>
						</ItemTemplate>
					</asp:TemplateField>
				</Columns>
			</asp:GridView>
		</div>
		<div class="SecondButtom">
			<div class="Page">
				<asp:Label runat="server" ID="LabPageNumber"></asp:Label>
				<asp:LinkButton ID="LBtnFirst" runat="server" Text="第一页"></asp:LinkButton>
				<asp:LinkButton ID="LBtnForward" runat="server" Text="上一页"></asp:LinkButton>
				<asp:LinkButton ID="LBtnNext" runat="server" Text="下一页"></asp:LinkButton>
				<asp:LinkButton ID="LBtnLast" runat="server" Text="最后一页"></asp:LinkButton>
			</div>
		</div>
	</form>
</body>
</html>
